<p:document xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:p="http://jboss.com/products/seam/pdf"
	orientation="#{empty orientation ? 'portrait' : orientation}">
	
	<f:facet name="header">
		<p:font family="normal" size="9" style="bold">
			<p:footer borderWidthTop=".1" borderColorTop="lightgray"
				borderWidthBottom="0" alignment="right"><p:pageNumber/></p:footer>
		</p:font>
	</f:facet>
	
	<p:paragraph spacingAfter="300"/>
	<p:image alignment="center" value="#{messages['LogoImage']}" scalePercent="75"/>
	<p:font family="helvetica" size="22" style="bold">
		<p:paragraph spacingBefore="100" alignment="center">#{title}</p:paragraph>
	</p:font>
	<ui:insert name="report-date">
		<p:paragraph spacingBefore="100" alignment="center">
			<p:font size="16" family="times-roman" >
				<p:text value="#{org.jboss.seam.framework.currentDatetime}">
					<f:convertDateTime type="date" dateStyle="full" timeStyle="full" />
				</p:text>
			</p:font>
		</p:paragraph>
	</ui:insert>
	
	<ui:insert name="body"/>
	
</p:document>
